﻿@{
    ViewBag.Title = "关于我们";
}
<style type="text/css">
    .banner { background: #eee; margin: 5px; padding: 5px; }
</style>
<script type="text/javascript">
    $(function () {
        $('#grade@(Request.RequestContext.RouteData.Values["grade"])')
        .css("background", "#000000")
        .find("a").css("color", "#ffffff");
        $('#subject@(Request.RequestContext.RouteData.Values["subject"])')
        .css("background", "#000000")
        .find("a").css("color", "#ffffff");
        $('#version@(Request.RequestContext.RouteData.Values["version"])')
        .css("background", "#000000")
        .find("a").css("color", "#ffffff");
    });
</script>
当前年级：@Request.RequestContext.RouteData.Values["grade"]
当前学科：@Request.RequestContext.RouteData.Values["subject"]
<h2>
    关于</h2>
<p>
    将内容放置在此处。
</p>
<p>
    @ViewBag.query
</p>
@Html.ActionLink("一年级语文人教版", "About", new { subject = 15, version = 1 })
@Html.ActionLink("二年级数学人教版", "About", new { grade = 2, subject = 16, version = 1 })
@Html.ActionLink("当前路由参数", "About")
<div class="banner">
    <span id="grade0">@Html.ActionLink("全部", "About", new { grade = 0 })</span> <span
        id="grade1">@Html.ActionLink("一年级", "About", new { grade = 1 })</span> <span id="grade2">@Html.ActionLink("二年级", "About", new { grade = 2 })</span><hr />
    <span id="subject0">@Html.ActionLink("全部", "About", new { subject = 0 })</span>
    <span id="subject15">@Html.ActionLink("语文", "About", new { subject = 15 })</span>
    <span id="subject16">@Html.ActionLink("数学", "About", new { subject = 16 })</span>
    <hr />
    <span id="version0">@Html.ActionLink("全部", "About", new { version = 0 })</span>
    <span id="version36">@Html.ActionLink("人教版", "About", new { version = 36 })</span>
    <span id="version37">@Html.ActionLink("苏教学", "About", new { version = 37 })</span>
    <hr />
</div>
@Html.ActionLink("一年级（去about2页面）", "About2", new { grade = 1 })
